package com.rachel.liveplayer.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.rachel.liveplayer.R;

/**
 * Created by Administrator on 2017/10/20.
 */

public class FunFragment extends Fragment {
    public static final String TAG = "funfragment";
    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {

        View view = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_fun,container,false);
        return view;
    }


    public static FunFragment newInStance(String str){
        FunFragment fragment = new FunFragment();
        Bundle bundle = new Bundle();
        bundle.putString(TAG,str);
        fragment.setArguments(bundle);
        return fragment;
    }
}
